package com.itheima.Test1;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class classLodaer {
    public static void main(String[] args) throws IOException {
       /* ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();

        InputStream res = systemClassLoader.getResourceAsStream("prop.properties");
        Properties prop = new Properties();

        prop.load(res);

        System.out.println(prop);
        res.close();*/


        ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();

        systemClassLoader.getResourceAsStream("ccc.properties");

    }
}
